package cn.wolfcode.service;

import cn.wolfcode.domain.Emp;
import cn.wolfcode.domain.PageResult;

import java.util.Date;
import java.util.List;

public interface EmpService {
    PageResult query(int page, int pageSize, String name, Integer gender, Date begin, Date end);

    void delByIds(List<Long> ids);

    void add(Emp emp);

    Emp getById(Long  id);

    void update(Emp emp);

    Emp login(Emp emp);
}
